package com.zhangwei.zk1018.service;

import com.github.pagehelper.PageInfo;
import com.zhangwei.zk1018.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangwei.zk1018.entity.GoodsVo;
import com.zhangwei.zk1018.entity.Gtypes;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-10-18
 */
public interface IGoodsService extends IService<Goods> {

    PageInfo getList(GoodsVo vo, Integer pageNum, Integer pageSize);

    List<Gtypes> getGtype();

    Goods getGoodsById(Integer id);

    Integer delAll(String gids);
}
